<li class="field-<?php echo $field['id']; ?> field-media-images-image ui-tabs-panel ui-widget-content ui-corner-all" id="<?php echo $file['id'] ?>">
  <div class="field-media-images-image-header">
    <a class="ui-fake-button" id="icon-1">
      <span class="ui-icon ui-icon-arrowreturnthick-1-s"></span>
    </a>
    <a class="ui-fake-button" id="icon-2" onclick="$(this).imageDelete('<?php echo $field['tab']; ?>',<?php echo $file['id']; ?>)">
      <span class="ui-icon ui-icon-circle-close"></span>
    </a>
  </div>
  <div class="field-media-images-image-middle">
  <a href="<?php echo $anachor; ?>" rel="lytebox[<?php echo $field['id']; ?>]" title="<?php echo $file['description']; ?>">
    <img src="<?php echo $src; ?>" />              
  </a>
  </div>
  <div class="field-media-images-image-footer">
    <span><?php echo $description; ?></span>
    <a class="ui-fake-button" onclick="mediaDescriptionWindow(<?php echo $field['id']; ?>, <?php echo $file['id']; ?>)">
      <span class="ui-icon ui-icon-pencil"></span>
    </a>
  </div>
</li> 